@import url('https://fonts.googleapis.com/css?family=Open+Sans|Playfair+Display&display=swap');

._dash-loading-callback {
    font-family: sans-serif;
    padding-top: 50px;
    color: rgb(90, 90, 90);

    -webkit-animation: fadein 0.5s ease-in 7s forwards; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 0.5s; /* Firefox < 16 */
    -ms-animation: fadein 0.5s; /* Internet Explorer */
    -o-animation: fadein 0.5s; /* Opera < 12.1 */
    animation: fadein 0.5s ease-in 7s forwards;

    /* The banner */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
    cursor: progress;
}


@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* body-level
–––––––––––––––––––––––––––––––––––––––––––––––––– */
html, body {
    margin: 0;
    padding: 0;
    background-color: #272a31;
}

#root {
    background-color: #272a31;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    font-family: "Open Sans", sans-serif;
    min-height: 100vh;
    max-width: 100% !important;
}

@media only screen and (max-width: 1310px) {
    #root {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }
}

#session-id {
    display: none;
}


/* app-container
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#app-container {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
    display: flex;
    flex-direction: column;
    padding: 3rem 5%;
    background-color: #272a31;
}

@media (min-width: 1310px) {
    #app-container {
        width: 66%;
        max-width: 66%;
    }
}

@media (max-width: 600px) {
    #app-container {
        padding: 2rem 5%;
    }
}

@media (max-width: 350px) {
    #app-container {
        padding: 1.5rem 5%;
    }
}

/* banner
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#banner {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    background-color: #272a31;
    padding-left: 2rem;
    padding-bottom: 3rem;
    height: 100%;
    max-width: 100%;
}

#logo {
    height: 3rem;
}

#title {
    font-family: "Playfair Display", serif;
    font-weight: normal;
    font-size: 2rem;
    margin-left: 2rem;
    color: white;
}

@media only screen and (max-width: 1310px) {
    #banner {
        flex-direction: column;
        justify-content: flex-end;
        padding: 0 0 1rem 0;
    }

    #logo {
        align-self: flex-start;
    }

    #title {
        padding-top: 2.5rem;
        margin: 0;
    }
}

@media only screen and (max-width: 600px) {
    #logo {
        height: 2.5rem;
    }

    #title {
        font-size: 1.75rem;
    }

    #banner {
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 500px) {
    #logo {
        height: 2rem;
    }

    #title {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 350px) {
    #logo {
        height: 1.5rem;
    }

    #title {
        font-size: 1.2rem;
        padding-top: 1.5rem !important;
    }
}


/* image
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#image {
    background-color: #272a31;
}

#interactive-image {
    max-width: 100%
}

/*showline: False*/
.yzl.zl.crisp {
    stroke: darkgray !important;
}

.xzl.zl.crisp {
    stroke: darkgray !important;
}

@media (min-width: 1311px) {
    #div-interactive-image, #interactive-image {
        height: 45rem;
    }
}

@media (max-width: 600px) {
    #div-interactive-image, #interactive-image {
        height: 30rem;
    }
}

@media (max-width: 500px) {
    #div-interactive-image, #interactive-image {
        height: 20rem;
    }
}

/* sidebar
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#sidebar {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
    background-color: #31343a;
    color: darkgray !important;
    padding: 7rem 2rem 0 2rem;
}

@media (min-width: 1311px) {
    #sidebar {
        width: 33%;
        max-width: 33%;
        align-self: stretch;
    }
}


#upload-image A {
    color: #fccd61;
}

/*Dropdown stuff below*/
.Select-control, .Select-multi-value-wrapper, .Select-menu-outer div {
    background-color: #31343a;
}

.Select-control, .Select, .Select-value-label, .Select-clear-zone {
    color: darkgray;
}

.Select-menu-outer {
    background-color: #31343a;
    border: 1px solid #43454a !important;
}

.Select-menu-outer div:hover {
    background-color: rgba(255, 255, 255, 0.01);
    cursor: pointer;
}

.Select--single > .Select-control .Select-value, .Select-placeholder {
    border: 1px solid #43454a;
    border-radius: 4px;
    color: darkgray;
    background-color: #31343a;
}

.Select-arrow {
    border-color: darkgray transparent transparent;
}

.Select-arrow-zone:hover > .Select-arrow, .is-open .Select-arrow {
    border-color: white transparent transparent;
}

.Select-arrow-zone, .Select-clear-zone, .is-open > .Select-control {
    background-color: #31343a !important;
}

.has-value.Select--single > .Select-control .Select-value .Select-value-label, .has-value.is-pseudo-focused.Select--single > .Select-control .Select-value .Select-value-label {
    color: darkgray;
}

#dropdown-enhance {
    margin-bottom: 2rem;
}

/*Button*/
#button-run-operation, #button-undo {
    background-color: #31343a;
    border: #fccd61 solid 1px;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    color: darkgray;
}

#button-run-operation:hover, #button-undo:hover {
    color: white;
    cursor: pointer;
}

/*Propriety slider*/
.rc-slider-rail {
    background-color: darkgray !important;
}

.rc-slider-track {
    background-color: #fccd61 !important;
}

.rc-slider-handle {
    border: solid 2px #fccd61 !important;
}

/*Slider Wrapper*/
#div-enhancement-factor {
    display: none;
    margin: 25px 5px 30px 0;
}

#div-enhancement-factor div {
    margin-left: 5px;
}

#button-run-operation {
    margin: 5px 10px 0 0;
}

#button-undo {
    margin-top: 5px;
}

#div-storage {
    display: none;
}

@media only screen and (max-width: 1310px) {
    #sidebar {
        padding: 3rem 2rem 0 2rem;
        font-size: 0.9rem;
    }

    #sidebar section:nth-child(1) {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #button-group {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;

    }

    #upload-image {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .g-gtitle text {
        font-size: 1rem !important;
    }

    #sidebar {
        padding: 2rem 1rem 0 1rem;
        font-size: 0.8rem;
    }

    #upload-image div {
        padding: 1rem 0 !important;
        margin-bottom: 1.5rem !important;
    }

    #sidebar section:nth-child(1) {
        padding-bottom: 0 !important;
    }
}

@media only screen and (max-width: 500px) {
    .g-gtitle text {
        font-size: 0.9rem !important;
    }

    .ytick text, .xtick text {
        font-size: 0.6rem !important;
    }
}

@media only screen and (max-width: 350px) {
    #sidebar {
        font-size: 0.6rem;
    }

    #upload-image div {
        padding: 0.3rem 0 !important;
        margin-bottom: 1rem !important;
    }

    .g-gtitle text {
        font-size: 0.9rem !important;
    }

    .ytick text, .xtick text {
        font-size: 0.6rem !important;
    }

    #sidebar section:nth-child(2) {
        margin-bottom: 0;
    }
    #button-group button{
        font-size: 0.7rem !important;
    }
}

.dash-error-card.dash-error-card--container {
    display: none;
}